<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/6/21 0021
  Time: 14:24下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>图书网</title>
  </head>
  <body>

<div align="center">
  <h2>所有图书</h2>
  <%--<h4><a href="addbook.jsp">添加图书</a></h4>--%>
  <table border="1">
    <tr>
      <td>图书编号</td>
      <td>书名</td>
      <td>作者</td>
      <td>出版社</td>
      <td>价格</td>
    </tr>
    <c:forEach items="${boos}" var="v">
    <tr>
      <td>${v.book_number}</td>
      <td>${v.book_name}</td>
      <td>${v.aothor}</td>
      <td>${v.publisher}</td>
      <td>${v.price}</td>
    </tr>
    </c:forEach>
  </table>
</div>
  </body>
</html>
